/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gerenciadorfinanceiro.controller.resources;

import gerenciadorfinanceiro.database.resources.*;
import java.util.List;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 * @author eduardo
 */

@Transactional(readOnly=true)
public interface OutcomeDAO {

    public abstract List getAllOucomes(User u, int month, int year);

    @Transactional(readOnly=false)
    public abstract void gravaOutcome(Outcome o);


}
